/**
 * 
 */
package com.sigmatrix.h5.annotation;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;
import javax.validation.ReportAsSingleViolation;

import org.hibernate.validator.constraints.NotBlank;


/**
 *@ClassName: Android
 *@Description: TODO()
 *@author libin
 *@date 2017年7月7日 下午4:37:27
 */
@Constraint(validatedBy = AndroidValidatorImpl.class)
@Documented
@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
@Retention(RUNTIME)
@ReportAsSingleViolation
@NotBlank
public @interface Android {
	String message() default "更新系统类型错误";

	String type() default "";

	Class<?>[] groups() default {};

	Class<? extends Payload>[] payload() default {};
}
